package com.he.architecture.service;

import com.he.architecture.common.service.LogicService;
import com.he.architecture.dao.ShopItemDao;
import com.he.architecture.dao.UserDao;
import com.he.architecture.entity.ShopItem;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ShopItemService extends LogicService<ShopItemDao, ShopItem,Long> {
    /**
     * 默认构造器
     */
    public ShopItemService(@Autowired ShopItemDao ud) {
        super(ud);
    }

    public List<ShopItem> getShopItemsByBusiness_Id(Long bus_id){
        return getDAO().getShopItemsByBusiness_Id(bus_id);
    }
}
